package com.rtwo.shiro.dao;

import com.rtwo.shiro.entity.ShUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by hasee on 2017/6/13.
 */
@Repository
public interface UserDao extends JpaRepository<ShUser,Integer>{

    ShUser findUserByUsername(String username);
}
